Platform Explorer / Nuxeo Platform 2021.49

Contribution org.nuxeo.ecm.webapp.seam.debug.action--actions

This contribution is part of XML component org.nuxeo.ecm.webapp.seam.debug.action inside nuxeo-platform-webapp-base-2021.49.2.jar /OSGI-INF/actions-contrib.xml

Extension Point

Extension point actions of component ActionService.

Registration Order

20
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <action enabled="true" id="seamReload" label="Reload Seam" link="#{seamReload.doReload}" order="50">
          <category>USER_MENU_ACTIONS</category>
          <filter-id>seamHotReloadIsEnabled</filter-id>
        </action>
  • <action enabled="true" id="devModeFlush" label="Dev mode: force flush" link="#{seamReload.doFlush}" order="100">
          <category>USER_MENU_ACTIONS</category>
          <filter-id>devModeEnabledForAdmin</filter-id>
        </action>
  • <action id="activateLayoutDevMode" label="Activate UI Development mode" link="#{nuxeoLayoutManagerBean.setDevModeSet(true)}" order="100">
          <category>USER_SERVICES</category>
          <filter-id>layoutDevModeDisabled</filter-id>
        </action>
  • <action id="deactivateLayoutDevMode" label="Deactivate UI Development mode" link="#{nuxeoLayoutManagerBean.setDevModeSet(false)}" order="100">
          <category>USER_SERVICES</category>
          <filter-id>layoutDevModeEnabled</filter-id>
        </action>
  • <action icon="/icons/pdf_export.png" id="exportViewPDFExport" label="label.exportview.pdfExport" link="#{restHelper.getDocumentUrl(currentDocument, 'pdf', true)}" order="0">
          <category>DOCUMENT_EXPORT_VIEW_ACTION</category>
        </action>
  • <action icon="/icons/action_export_zip.gif" id="exportViewZipBlobExport" label="label.exportview.zipBlobExport" link="#{clipboardActions.exportWorklistAsZip(currentDocument)}">
          <category>DOCUMENT_EXPORT_VIEW_COMMAND_ACTION</category>
        </action>
  • <action icon="/icons/contextual_menu/unlocked.png" id="documentLock" label="command.lock" link="#{lockActions.lockCurrentDocument}" order="10" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>mutable_document</filter-id>
          <filter-id>can_lock</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/contextual_menu/locked.png" id="documentUnlock" label="command.unlock" link="#{lockActions.unlockCurrentDocument}" order="10" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>mutable_document</filter-id>
          <filter-id>can_unlock</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action accessKey="k" icon="/icons/contextual_menu/share.png" id="permalinkAction" label="label.permalink" order="20" type="fancybox">
          <category>DOCUMENT_UPPER_ACTION</category>
          <properties>
            <property name="include">/incl/permalink_box.xhtml</property>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/contextual_menu/subscribe.png" id="subscribesAllDocNotifications" label="label.subscriptions.follow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>hasNoSubscriptions</filter-id>
          <filter-id>canSubscribe</filter-id>
          <filter-id>isNotVersion</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/contextual_menu/unsubscribe.png" id="unsubscribesAllDocNotifications" label="label.subscriptions.unfollow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>hasSubscriptions</filter-id>
          <filter-id>canSubscribe</filter-id>
          <filter-id>isNotVersion</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/action_add.gif" id="addCurrentDocumentToWorklist" immediate="true" label="help.command.clipboard.addworklist" link="#{operationActionBean.doOperation('addCurrentDocumentToWorklist')}" order="60" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>not_folder</filter-id>
          <filter-id>not_anonymous</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/printer.gif" id="print" label="label.print" link="#{restHelper.doPrint(themeActions.defaultTheme)}" order="70">
          <category>DOCUMENT_UPPER_ACTION</category>
          <properties>
            <property name="target">_blank</property>
          </properties>
        </action>
  • <action id="restoreVersion" immediate="true" label="command.undeleteDocs" link="#{deleteActions.restoreCurrentDocument}" order="1">
          <category>DOCUMENT_SUMMARY_CUSTOM_ACTIONS</category>
          <filter-id>restoreVersionDisplay</filter-id>
        </action>
  • <action icon="/icons/pdf.png" id="blobToPDF" label="label.document.generatePdf" link="#{conversionActions.generatePdfFileFromBlobHolder(currentDocument, currentDocumentAsBlobHolder)}" order="200">
          <category>BLOB_ACTIONS</category>
          <filter-id>isMainBlob</filter-id>
          <filter-id>isExportableToPDF</filter-id>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action enabled="true" id="seamReload" label="Reload Seam" link="#{seamReload.doReload}" order="50">
      <category>USER_MENU_ACTIONS</category>
      <filter-id>seamHotReloadIsEnabled</filter-id>
    </action>

    <action enabled="true" id="devModeFlush" label="Dev mode: force flush" link="#{seamReload.doFlush}" order="100">
      <category>USER_MENU_ACTIONS</category>
      <filter-id>devModeEnabledForAdmin</filter-id>
    </action>

    <action id="activateLayoutDevMode" label="Activate UI Development mode" link="#{nuxeoLayoutManagerBean.setDevModeSet(true)}" order="100">
      <category>USER_SERVICES</category>
      <filter-id>layoutDevModeDisabled</filter-id>
    </action>

    <action id="deactivateLayoutDevMode" label="Deactivate UI Development mode" link="#{nuxeoLayoutManagerBean.setDevModeSet(false)}" order="100">
      <category>USER_SERVICES</category>
      <filter-id>layoutDevModeEnabled</filter-id>
    </action>

    <!-- NXP-7025: disable pdf export on doc -->
    <!--
      <action id="pdfExport" link="pdf" order="18"
      label="label.exportview.pdfExport" icon="/icons/pdf_export.png">
      <category>DOCUMENT_UPPER_ACTION</category>
      </action>
    -->

    <action icon="/icons/pdf_export.png" id="exportViewPDFExport" label="label.exportview.pdfExport" link="#{restHelper.getDocumentUrl(currentDocument, 'pdf', true)}" order="0">
      <category>DOCUMENT_EXPORT_VIEW_ACTION</category>
    </action>

    <action icon="/icons/action_export_zip.gif" id="exportViewZipBlobExport" label="label.exportview.zipBlobExport" link="#{clipboardActions.exportWorklistAsZip(currentDocument)}">
      <category>DOCUMENT_EXPORT_VIEW_COMMAND_ACTION</category>
    </action>

    <!-- Contextual tools buttons contrib NXP-9039 -->
    <action icon="/icons/contextual_menu/unlocked.png" id="documentLock" label="command.lock" link="#{lockActions.lockCurrentDocument}" order="10" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>mutable_document</filter-id>
      <filter-id>can_lock</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/contextual_menu/locked.png" id="documentUnlock" label="command.unlock" link="#{lockActions.unlockCurrentDocument}" order="10" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>mutable_document</filter-id>
      <filter-id>can_unlock</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action accessKey="k" icon="/icons/contextual_menu/share.png" id="permalinkAction" label="label.permalink" order="20" type="fancybox">
      <category>DOCUMENT_UPPER_ACTION</category>
      <properties>
        <property name="include">/incl/permalink_box.xhtml</property>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/contextual_menu/subscribe.png" id="subscribesAllDocNotifications" label="label.subscriptions.follow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>hasNoSubscriptions</filter-id>
      <filter-id>canSubscribe</filter-id>
      <filter-id>isNotVersion</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/contextual_menu/unsubscribe.png" id="unsubscribesAllDocNotifications" label="label.subscriptions.unfollow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>hasSubscriptions</filter-id>
      <filter-id>canSubscribe</filter-id>
      <filter-id>isNotVersion</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/action_add.gif" id="addCurrentDocumentToWorklist" immediate="true" label="help.command.clipboard.addworklist" link="#{operationActionBean.doOperation('addCurrentDocumentToWorklist')}" order="60" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>not_folder</filter-id>
      <filter-id>not_anonymous</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/printer.gif" id="print" label="label.print" link="#{restHelper.doPrint(themeActions.defaultTheme)}" order="70">
      <category>DOCUMENT_UPPER_ACTION</category>
      <properties>
        <property name="target">_blank</property>
      </properties>
    </action>

    <action id="restoreVersion" immediate="true" label="command.undeleteDocs" link="#{deleteActions.restoreCurrentDocument}" order="1">
      <category>DOCUMENT_SUMMARY_CUSTOM_ACTIONS</category>
      <filter-id>restoreVersionDisplay</filter-id>
    </action>

    <action icon="/icons/pdf.png" id="blobToPDF" label="label.document.generatePdf" link="#{conversionActions.generatePdfFileFromBlobHolder(currentDocument, currentDocumentAsBlobHolder)}" order="200">
      <category>BLOB_ACTIONS</category>
      <filter-id>isMainBlob</filter-id>
      <filter-id>isExportableToPDF</filter-id>
    </action>

  </extension>